package com.gibs.peixunapi.model;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Entity
@Data
//@Table(name = "StudentCourse")
public class StudentCourse extends BaseModel {	//学生_课程
	@ManyToOne
	private User student;     //学生id//TODO
	@ManyToOne
	private Course course;     //课程id
	private Date subscribeTime;     //订阅时间
	private Date signUpTime;     //报名时间
	private Double documentationProgress;     //文档学习进度
	private Double videoProgress;     //视频学习进度
}

